package com.example.demo.mapper;

import com.example.demo.entity.DBConnection;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DBConnectionMapper {

    int insert(DBConnection dbConnection);

    int update(DBConnection dbConnection);

    DBConnection selectById(@Param(value = "id") int id);

    List<DBConnection> list(@Param(value = "projectId") int projectId);

    void delete(@Param(value = "id") int id);
}
